export interface ReadResult {
  readBooks: number;
  readBooksFonts: number;
  readDays: number;
  skillReadNum: number;
}

export interface GetDataBoardResult {
  readHasNum: number; // 已上课时
  readResidue: number; // 剩余课时
  trustTotalNum: number; // 托管天数
  trustMonthHasNum: number; // 本月已托管
  trustResidue: number; // 本月剩余托管
  accuracyRate: number; // 阅读正确率
  integralBalance: number; // 积分余额
  mainAccountFlag: number; // 1-主账号 2-其他账号
  [key: string]: any;
}

export interface GetFamilyGroupResult {
  familyName: string;
  familyCode: string;
  type: number; // 1-主账号 2-其他账号
  num: number; // 家庭成员数量
  gender: string; // X-标识男，O-标识女 2-标识未知
  [key: string]: any;
}

export interface FamilyMember {
  id: string;
  studentId: string;
  familyCode: string;
  type: number; // 1-主账号 2-其他账号
  mobile: string;
  tenantId: string;
  familyRoleName: string;
}

export interface GetFamilyMembersResult {
  accountFlag: number; // 1-可邀请、删除成员
  list: FamilyMember[];
  [key: string]: any;
}

export interface AddFamilyMemberParams {
  familyRoleName: string;
  familyCode: string;
  mobile: string;
  shareCode: string;
  msgCode: string;
}
